<div id="module_dream_ticket">
	<h2>Dream Ticket</h2>
	<div style="position: absolute;color:#f11a2a;float:right;top:21px;right:5px;font-style:italic;line-height: 12px;">ส่งผลงานเพลงเพื่อโปรโมทได้ที่<br /><a href="mailto:webmaster@you2play.com" style="color:#f11a2a;">webmaster@you2play.com</a></div>
	<?php if(!empty($dataDreamTicket)):?>
		<ul>
		<?php foreach($dataDreamTicket as $key => $value):?>
			<li <?php echo ($key==0 ? 'class="first"':'');?>>
				<?php if($key==0):?>
					<a title="<?php echo $value->song_name;?>" href="<?php echo $music_url.'play/'.$value->song_id.'-'.seo_url($value->song_name);?>" class="image" target="_blank">
						<?php echo exec_image(array(
							'folder' => 'album',
							'dimension' => '114x114',
							'file_name' => @$value->image->album_file_name.'.'.@$value->image->album_file_ext,
							'alt' => ''.$value->song_name.'',	
							'title' => ''.$value->song_name.''	
							)
						);?>
					</a>
					<a title="<?php echo $value->song_name;?>" href="<?php echo $music_url.'play/'.$value->song_id.'-'.seo_url($value->song_name);?>" target="_blank" class="info">
					<?php foreach($value->artist as $key2 => $artist):?>
						<?php echo ($key2==0 ? '':'/');?> 
							<span><?php echo $value->song_name.' - '.$artist->artist_name;?></span>
					<?php endforeach;?>
					</a>		
				<?php else:?>
					<a title="<?php echo $value->song_name;?>" href="<?php echo $music_url.'play/'.$value->song_id.'-'.seo_url($value->song_name);?>" target="_blank"><?php echo $value->song_name;?></a><br />
					<?php foreach($value->artist as $key2 => $artist):?>
						<?php echo ($key2==0 ? '':'/');?> 
						<a title="<?php echo $artist->artist_name;?>" href="<?php echo $artist_url.'summary/'.$artist->artist_id.'-'.$artist->artist_name;?>" target="_blank">
							<span><?php echo $artist->artist_name;?></span>
						</a>
					<?php endforeach;?>			
				<?php endif;?>
			</li>
		<?php endforeach;?>
		</ul>
	<?php endif;?>
</div>